package p12_jdk代理原理;

/**
 * 目标类，代理类就是为该类做增强
 */
public class Target implements Foo {

    @Override
    public void foo() {
        System.out.println("target的foo方法...");
    }

    @Override
    public long bar() {
        System.out.println("target的bar方法...");
        return System.currentTimeMillis();
    }
}
